package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DriverCancelRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long driverRegionId;
    //免责取消次数设置
    private String freeCancelTimes;
    //分值设置
    private String scoreSpec;
    //暂停接单时间
    private String stopAcceptOrderTime;
    //扣分持续时间
    private Integer reduceScoreDuration;
    private Boolean isActive;
    private String createdAt;
    private String updatedAt;
}
